<?php
require("conn.php");
$ma=$_POST['ma'];
$sql="SELECT * FROM chudegame where ma='$ma'";
$bang=mysql_query($sql);
$row=mysql_fetch_array($bang)
?>
<style type="text/css">
<!--
.style1 {
	color: #0000FF;
	font-weight: bold;
	font-size: 20px;
}
-->
</style>
<form action="" method="post" name="f" id="f">
  <table width="477" border="1">
    <tr>
      <td colspan="2"><div align="left" class="style1">Cập nhật chủ đề game </div></td>
    </tr>
    <tr>
      <td width="148"><div align="left"><strong>CĐ_Trước khi sữa </strong></div></td>
      <td width="313"><label>
        <div align="left">
          <input name="cd" type="text" id="cd" size="40" value="<?php echo($row['ten']);?>" readonly="yes" style="color:#0000FF;font-weight:bold">
        </div>
      </label></td>
    </tr>
	 <tr>
      <td width="148"><div align="left"><strong>CĐ_Sau khi sữa </strong></div></td>
      <td width="313"><label>
        <div align="left">
          <input name="ten" type="text" id="ten" size="47">
        </div>
      </label></td>
    </tr>
    <tr>
      <td colspan="2"><label>
        <div align="center">
          <input type="button" name="Button" value="Them" onClick="xulysuachudegame(<?php echo $ma;?>)">
          <input type="reset" name="Submit2" value="Huy bo">
        </div>
      </label></td>
    </tr>
  </table>
</form>
